package frog.lazy.framework.core.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.ArrayList;
import java.util.List;

@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class TreeDTO {
    private Long id;
    private Long pid;
    private List<TreeDTO> children = new ArrayList<>();
}
